package net.thread;

import java.util.List;

public class ReadLog
{
	@SuppressWarnings("rawtypes")
	private List entries;
	public void processEntry()
	{
		synchronized (entries)
		{
			while(entries.size()==0)
			{
				try
				{
					entries.wait();
				}
				catch (Exception e)
				{
				}
			}
		}
		@SuppressWarnings("unused")
		String entry = (String) entries.remove(entries.size()-1);
	}
}
